package ooday02.homework.AnimalCase1;

public class Test {
    public static void main(String[] args) {
        Chick chick = new Chick("小鸡", 5, "黄");
        chick.drink();
        chick.eat();
        chick.layEggs();

        Dog dog = new Dog("小狗", 7, "白");
        dog.drink();
        dog.eat();
        dog.swim();
        dog.lookHome();

        Fish fish = new Fish("小鱼", 8, "银");
        fish.drink();
        fish.eat();
        fish.swim();


    }
}
